﻿package com.addcn.texas.view.components
{
        import fl.controls.dataGridClasses.HeaderRenderer;
        import flash.text.TextFormat;
        import flash.text.TextFormatAlign;
                        
        public class CustomRender extends HeaderRenderer
        {
                public function CustomRender()
                {
                        super();
                }
                
                override protected function drawLayout():void
                {
					super.drawLayout();                        
					this.textField.width = this.width;						
					this.textField.setTextFormat(new TextFormat("_sans", 12, 0x000000, true, false, false, '', '', TextFormatAlign.CENTER, 0, 0, 0, 0));
                }
        }
}
